<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of comment
 *
 * @author sharl
 */
class comment {

    private $id;
    private $content;
    private $time;
    private $user_agent;
    private $userId;
    private $is_unregistered;

    function __construct($id, $content, $time, $user_agent, $userId, $is_unregistered) {
        $this->id = $id;
        $this->content = $content;
        $this->time = $time;
        $this->user_agent = $user_agent;
        $this->userId = $userId;
        $this->is_unregistered = $is_unregistered;
    }

    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getContent() {
        return $this->content;
    }

    public function setContent($content) {
        $this->content = $content;
    }

    public function getTime() {
        return $this->time;
    }

    public function setTime($time) {
        $this->time = $time;
    }

    public function getUser_agent() {
        return $this->user_agent;
    }

    public function setUser_agent($user_agent) {
        $this->user_agent = $user_agent;
    }

    public function getUserId() {
        return $this->userId;
    }

    public function setUserId($userId) {
        $this->userId = $userId;
    }

    public function getIs_unregistered() {
        return $this->is_unregistered;
    }

    public function setIs_unregistered($is_unregistered) {
        $this->is_unregistered = $is_unregistered;
    }

}

?>
